package online.longzipeng.cinemasys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzp
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WebConfig extends Model<WebConfig> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 键
     */
    private String name;

    /**
     * 值
     */
    private String value;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
